package demozkdiscovery;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("hello")
public interface HelloServiceFeign {

    @GetMapping("/hello")
    ResponseEntity<String> hello();


    @GetMapping("/dd")
    ResponseEntity<String> dd();
}
